package org.cskj.demo.pojo;

import java.util.Date;

public class Outshop {
    private Integer outid;

    private Integer shopid;

    private Integer outnum;

    private String outusname;

    private String outidcard;

    private Date outaddtime;

    private Integer usid;
    private User user;
    private Shop shop;

    @Override
    public String toString() {
        return "Outshop{" +
                "outid=" + outid +
                ", shopid=" + shopid +
                ", outnum=" + outnum +
                ", outusname='" + outusname + '\'' +
                ", outidcard='" + outidcard + '\'' +
                ", outaddtime=" + outaddtime +
                ", usid=" + usid +
                ", user=" + user +
                ", shop=" + shop +
                '}';
    }

    public Outshop(Integer outid, Integer shopid, Integer outnum, String outusname, String outidcard, Date outaddtime, Integer usid, User user, Shop shop) {
        this.outid = outid;
        this.shopid = shopid;
        this.outnum = outnum;
        this.outusname = outusname;
        this.outidcard = outidcard;
        this.outaddtime = outaddtime;
        this.usid = usid;
        this.user = user;
        this.shop = shop;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }

    public Outshop(Integer outid, Integer shopid, Integer outnum, String outusname, String outidcard, Date outaddtime, Integer usid) {
        this.outid = outid;
        this.shopid = shopid;
        this.outnum = outnum;
        this.outusname = outusname;
        this.outidcard = outidcard;
        this.outaddtime = outaddtime;
        this.usid = usid;
    }

    public Outshop() {
        super();
    }

    public Integer getOutid() {
        return outid;
    }

    public void setOutid(Integer outid) {
        this.outid = outid;
    }

    public Integer getShopid() {
        return shopid;
    }

    public void setShopid(Integer shopid) {
        this.shopid = shopid;
    }

    public Integer getOutnum() {
        return outnum;
    }

    public void setOutnum(Integer outnum) {
        this.outnum = outnum;
    }

    public String getOutusname() {
        return outusname;
    }

    public void setOutusname(String outusname) {
        this.outusname = outusname == null ? null : outusname.trim();
    }

    public String getOutidcard() {
        return outidcard;
    }

    public void setOutidcard(String outidcard) {
        this.outidcard = outidcard == null ? null : outidcard.trim();
    }

    public Date getOutaddtime() {
        return outaddtime;
    }

    public void setOutaddtime(Date outaddtime) {
        this.outaddtime = outaddtime;
    }

    public Integer getUsid() {
        return usid;
    }

    public void setUsid(Integer usid) {
        this.usid = usid;
    }
}